package com.project.bookstore.category.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
public class CategoryIndexDO implements Serializable {
    @ApiModelProperty("类别id")
    private Long id;
    @ApiModelProperty("类别标题")
    private String name;
    @ApiModelProperty("类别父类标签")
    private Long parentId;
    @ApiModelProperty("深度")
    private Integer depth;
}
